
<section class="content-wrap bg-white">
    <div class="panel-body" style="padding-top: 70px;">
		<div class="box">
			<div class="box-body">
				<div class="col-sm-12">
					<div class="row">
				        <table class="table table-bordered table-hover mg-t datatable" id="datatable_list">
			                <thead>
			                <tr>
			                    <th>时间</th>
			                    <th>备注</th>
               	 		</table>
	    			</div>
				</div>
			</div>
		</div>
	</div>
</section>
<script language="JavaScript">
function initDatatable1() {
    var datatable1 = $('#datatable_list').DataTable({
        "dom": '<"toolbar">frtip',
        "searching": false,
        "processing": false,
        "serverSide": true,
        "select": true,
        "ordering": true,
        "language": {
            "url": "${base}/assets/plugins/datatables/cn.json"
        },
        "preDrawCallback": function () {
            sublime.showLoadingbar($(".main-content"));
        },
        "drawCallback": function () {
            sublime.closeLoadingbar($(".main-content"));
        },
        "ajax": {
            "url": "${base}/platform/student/recordData",
            "type": "post",
            "data": function (d) {
            }
        },
        "order": [[0, "desc"]],
        "columns": [
			{"data": "createAt", "bSortable": true},
			{"data": "remark", "bSortable": true}
        ],
        "columnDefs": [
           	{
             	"render": function (data, type, row) {
             		return moment(parseInt(data*1000)).format("YYYY-MM-DD HH:mm:ss"); ;
         		 },
              	"targets": 0
           	}
        ]
    });
}
    $(document).ready(function () {
    	initDatatable1();
    });

</script>
